/*******************************************************************************
 * Copyright (c) 2009 David Harrison.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl-3.0.html
 *
 * Contributors:
 *     David Harrison - initial API and implementation
 ******************************************************************************/
package com.sfs.postcodes.beans;

import java.io.Serializable;

/**
 * The Class ConfigurationBean.
 *
 * @author David Harrison
 */

public class ConfigurationBean extends Object implements Serializable {

    /** The unique serial id for the class. */
    private static final long serialVersionUID = -613153043305261522L;

    /** The application url. */
    private String applicationUrl = "http://localhost:8080/postcodes/";

    /** The theme for the postcode web interface. */
    private String theme = "default";

    /** The geocode url. */
    private String geocodeUrl = "http://maps.google.com/maps/geo?output=csv";

    /** The geocode api key. */
    private String geocodeApiKey;

    /** The geocode key parameter. */
    private String geocodeKeyParam;

    /** The geocode address parameter. */
    private String geocodeAddressParam;


    /**
     * Sets the application url.
     *
     * @param applicationUrlValue the new application url
     */
    public final void setApplicationUrl(final String applicationUrlValue) {
        this.applicationUrl = applicationUrlValue;
    }

    /**
     * Gets the application url.
     *
     * @return the application url
     */
    public final String getApplicationUrl() {
        return applicationUrl;
    }

    /**
     * Sets the theme.
     *
     * @param themeValue the new theme
     */
    public final void setTheme(final String themeValue) {
        this.theme = themeValue;
    }

    /**
     * Gets the theme.
     *
     * @return the theme
     */
    public final String getTheme() {
        return theme;
    }

    /**
     * Sets the geocode url.
     *
     * @param geocodeUrlValue the new geocode url
     */
    public final void setGeocodeUrl(final String geocodeUrlValue) {
        this.geocodeUrl = geocodeUrlValue;
    }

    /**
     * Gets the geocode url.
     *
     * @return the geocode url
     */
    public final String getGeocodeUrl() {
        return geocodeUrl;
    }

    /**
     * Sets the geocode api key.
     *
     * @param geocodeApiKeyValue the new geocode api key
     */
    public final void setGeocodeApiKey(final String geocodeApiKeyValue) {
        this.geocodeApiKey = geocodeApiKeyValue;
    }

    /**
     * Gets the geocode api key.
     *
     * @return the geocode api key
     */
    public final String getGeocodeApiKey() {
        return geocodeApiKey;
    }

    /**
     * Sets the geocode key parameter.
     *
     * @param geocodeKeyParamValue the new geocode key param
     */
    public final void setGeocodeKeyParam(final String geocodeKeyParamValue) {
        this.geocodeKeyParam = geocodeKeyParamValue;
    }

    /**
     * Gets the geocode key parameter.
     *
     * @return the geocode key parameter
     */
    public final String getGeocodeKeyParam() {
        return geocodeKeyParam;
    }

    /**
     * Sets the geocode address parameter.
     *
     * @param geocodeAddressParamValue the new geocode address parameter
     */
    public final void setGeocodeAddressParam(final String geocodeAddressParamValue) {
        this.geocodeAddressParam = geocodeAddressParamValue;
    }

    /**
     * Gets the geocode address parameter.
     *
     * @return the geocode address parameter
     */
    public final String getGeocodeAddressParam() {
        return geocodeAddressParam;
    }

}
